export type ClusterReq = {
  cluster?: string;
};

export type NSReq = {
  namespace?: string;
};

export type BaseReq = ClusterReq & NSReq;
export type SourceReq = BaseReq & {
  name?: string;
};

export type SourceUpdateReq<T = any> = SourceReq & {
  data?: T;
};
